package com.wanqing.community.manager;

import java.util.List;

import com.wanqing.community.bean.UserDetailBean;
import com.wanqing.community.util.CommunityException;

/**
 * 用户明细Manager
 * @author JX
 *
 */
public interface UserDetailManager {

	/**
	 *<p>Description:添加用户明细<p>
	 * <p>modifiContent:</p>
	 * @param list
	 * @return int
	 * @throws CommunityException
	 */
	boolean addUserDetail(List<UserDetailBean> userDetail) throws CommunityException;
	
	
	/**
	  * <p>Description:根据主表ID查找用户明细<p>
	  * <p>modifiContent:<p>
	  * @param id
	  * @return
	  * @throws CommunityException
	  */
	List <UserDetailBean> findUserDetailById(String Id) throws CommunityException;
	
	
	/**
	 * 修改用户明细
	 * <p>Description:<p>
	 * <p>modifiContent:<p>
	 * @param flowState
	 * @return
	 * @throws CommunityException
	 */
	boolean updateUserDetail(List<UserDetailBean> userDetail) throws CommunityException;
	
	/**
	  * <p>Description:根据ID删除明细<p>
	  * <p>modifiContent:<p>
	  * @param id
	  * @return
	  * @throws CommunityException
	  */
	boolean deleteUserDetailbyId(String udId) throws CommunityException;
	
}
